ThemeIsle\GutenbergBlocks\Plugins\Block_Conditions A

Total Complexity 51
Dependencies 3
Dependents 0
Total lines 296
Lines of code 158
Logical lines of code 87
Comment lines 96
Methods 12
Properties 1

Methods 12

Method Rating Maintainability Complexity Lines of code
evaluate_condition()
B
39 23 66
render_blocks()
A
51 12 27
has_user_roles()
S
64 3 10
init()
S
69 2 6
add_attributes_to_blocks()
S
65 2 9
has_author()
S
65 2 9
instance()
S
70 2 7
is_type()
S
75 1 4
has_category()
S
65 1 10
has_stripe_product()
S
76 1 4
__clone()
S
78 1 3
__wakeup()
S
78 1 3